import { useContext } from 'react'
import StoreContext from '@/contexts/storeContext'
import { observer } from 'mobx-react'

function useStore () {
  const store = useContext(StoreContext)
  return store
}

export {
  observer,
  useStore,
}